Skip to main content

scale

Type

property

Summary

Specifies the size at which an EPS object or video clip is displayed.

Syntax

set the scale of {<EPSObject> | <videoClip>} to <ratio>

Description

Use the scale property to change the appearance of EPS objects or video clips.

The scale is the natural size of the object's content divided by the size of the rectangle the content is placed in. For example, if the ratio is 1, a video clip plays at the movie's normal size; if the ratio is 2, the video clip is blown up by a factor of 2.

For EPS objects, this property is supported only on Unix systems with Display PostScript installed.

Examples

set the scale of videoClip "Splash" to 0.5 -- half size

glossary: property, EPS, factor, video clip, object

property: scaleIndependently, height

Compatibility and Support

Introduced

LiveCode 1.0

OS

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?